<?php
require_once BACKGROUND_PC_COMMON_ACTION_DIR . '/default.php';

class background_pc_index_action extends background_pc_default_common_action
{
    protected function _current_page_run()
    {
        $background_index_action_service = wwy_resource_container::get_background_index_action_service();
        $background_index_action_service->process();

        self::$_view_data['title'] = '首页';
        self::$_layout_data['view_content'] = $this->_render_view('index.php');

        //设置【self::$_view_data['page_title']】，用于生成【self::$_layout_data['page_title']】
        self::$_view_data['page_title'] = self::$_view_data['title'];
    }
}